﻿using System.Collections.Generic;

namespace CoreLibrary {

    public class CollectionUtil {

        public static bool IsEmpty<T>(ICollection<T> collection) {
            return (collection == null || collection.Count == 0);
        }

    }
}